package com.zxy.ziems.server.board.pojo.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class RoleFileDTO {
    /**
     * ID
     */
    @NotBlank(message = "删除id不可为空", groups = RoleFileDTO.Delete.class)
    private String roleFileId;
    /**
     * 角色Id
     */
    @NotBlank(message = "角色ID不可为空", groups = RoleFileDTO.Add.class)
    private String roleId;
    /**
     * 文件Id
     */
    @NotBlank(message = "文件ID不可为空", groups = RoleFileDTO.Add.class)
    private String fileId;

    public interface Add{}

    public interface Delete {}
}
